﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="formSolicitudCajaChicaCab.aspx.cs" Inherits="WebApplication1.formSolicitudCajaChicaCab" %>

<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <anthem:GridView ID="gvGrid" runat="server" AutoGenerateColumns="False" 
            ShowHeader="False" CellPadding="4" ForeColor="#333333" GridLines="None" 
            Width="100%" AutoUpdateAfterCallBack="true" UpdateAfterCallBack="True" 
            onrowcommand="gvGrid_RowCommand" onrowcreated="gvGrid_RowCreated" 
            onrowdatabound="gvGrid_RowDataBound" onselectedindexchanged="gvGrid_SelectedIndexChanged"
            >
            <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:TemplateField ItemStyle-Width="5%">
                        <ItemTemplate>
                            <anthem:CheckBox ID="chk" runat="server"  AutoUpdateAfterCallBack="false" AutoCallBack="true" />
                        </ItemTemplate>
                        <ItemStyle Width="5%"></ItemStyle>
                    </asp:TemplateField>
                    <asp:TemplateField ItemStyle-Width="90%">
                        <ItemTemplate>
                            <table border="0">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblBelnrKunnr" runat="server" />
                                        <br />
                                        <asp:Label ID="lblDlifnr" runat="server" Font-Bold="true" />
                                        <br />
                                        <asp:Label ID="lblWrbtrWaers" runat="server" />
                                        <br />
                                        <asp:Label ID="lblBudat" runat="server" />
                                    </td>
                                </tr>                                                       
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                        <ItemStyle Width="90%"></ItemStyle>
                   </asp:TemplateField>
                </Columns>
                <Columns>
                   <asp:TemplateField>
                    <ItemTemplate>                    
                        <anthem:LinkButton ID="LinkButton1det" runat="server" OnClientClick="LinkButton1_Click" CommandName="Select">
                            <img src="imagenes/flecha.png" border="0" />
                        </anthem:LinkButton>
                    </ItemTemplate>
                   </asp:TemplateField>
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
            </anthem:GridView>
        <br />
     </div>
    <div>
        <asp:LinkButton ID="lnkDummy" runat="server"></asp:LinkButton>
        <cc1:ModalPopupExtender ID="ModalPopupExtender1" BehaviorID="mpe" runat="server"
            PopupControlID="pnlPopup" TargetControlID="lnkDummy" BackgroundCssClass="modalBackground">
        </cc1:ModalPopupExtender>
        <asp:Panel ID="pnlPopup" runat="server" CssClass="modalPopup" HorizontalAlign="Center"
            Style="display: none" BackColor="#CC99FF" BorderStyle="Solid" 
            Width="150px">
            <div class="header">
                Mensajes
            </div>
            <div class="body">
              <table>
              <tr>
                <asp:Label ID="lblMensajes" runat="server" Text="Label"></asp:Label>
              </tr>
              <tr align ="center">
                <asp:Button ID="btnHide" runat="server" Text="Aceptar" CssClass="boton2" OnClientClick="return HideModalPopup()" />
              </tr>
             </table>
            </div>
        </asp:Panel>
    </div>
</asp:Content>
